
#include "server.hpp"


void Menu(char* argv[])
{
    std::cout << "\r" << argv[0] << "  [port] " << std::endl;
}

int main(int argc , char* argv[])
{
    if(argc < 2)
    {
        Menu(argv);
        exit(1);
    }

    uint16_t port = std::stoi(argv[1]);
    Server server(port);
    server.Start();
    

    return 0;
}